package com.ambulance.project.manager.domain;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.ambulance.framework.aspectj.lang.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import com.ambulance.framework.web.domain.BaseEntity;

/**
 * 车辆出车日志对象 biz_travel_log
 *
 * @author zr
 * @date 2020-05-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ToString
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value="车辆出车日志对象", description="车辆出车日志}")
public class BizTravelLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;



     // $column.columnComment
    @ApiModelProperty(value = "${column.columnComment}")
    private Long id;


     // 车辆id
    @Excel(name = "车辆id")
    @ApiModelProperty(value = "车辆id")
    private Long carID;


     // 出车时间
    @JsonFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @Excel(name = "出车时间", width = 30, dateFormat = "yyyy-MM-dd hh:mm:ss")
    @ApiModelProperty(value = "出车时间")
    private Date outCarTime;


     // 出车人id
    @Excel(name = "出车人id")
    @ApiModelProperty(value = "出车人id")
    private Long outDriverId;


     // 司机姓名
    @Excel(name = "司机姓名")
    @ApiModelProperty(value = "司机姓名")
    private String outDriverName;


     // 调度id
    @Excel(name = "调度id")
    @ApiModelProperty(value = "调度id")
    private Long dispathId;

    // 查询id in 条件需要生产一个字符串类型ids
    @TableField(exist = false)
    private String ids;






}
